package cn.com.sinosoft.testxmltransform.yewu;

import java.io.Serializable;
import java.util.Date;
import java.util.List;




/**
 * 机构信息实体类
 * @author leichao
 */
public class OrganizationEntity implements Serializable {
	
	
	private static final long serialVersionUID = 1L;
	
	private String primaryId;
	
	
	private String code;
	
	
	private String name;
    
	
    private String level;
    
	
    private String category;
    
	
    private String areaCode;
    
	
    private String address;
    
	
    private String legalPerson;
    
	
    private String contact;
    

    private String introduce;
    
	
    private List<DepartmentEntity> departmentList;
    
    private Date createTime;
    
   	public Date getCreateTime() {
   		return createTime;
   	}

   	public void setCreateTime(Date createTime) {
   		this.createTime = createTime;
   	}  
       

	public List<DepartmentEntity> getDepartmentList() {
		return departmentList;
	}

	public void setDepartmentList(List<DepartmentEntity> departmentList) {
		this.departmentList = departmentList;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getPrimaryId() {
		return primaryId;
	}

	public void setPrimaryId(String primaryId) {
		this.primaryId = primaryId;
	}

	@Override
	public String toString() {
		return "OrganizationEntity [code=" + code + ", name=" + name
				+ ", level=" + level + ", category=" + category + ", areaCode="
				+ areaCode + ", address=" + address + ", legalPerson="
				+ legalPerson + ", contact=" + contact + ", introduce="
				+ introduce + "]";
	}

}